package com.tannm.doan.taskmanager.views;

import android.content.Context;
import android.graphics.Canvas;

public class ViewTodayItemNote extends ViewTodayItem {
	// methods
	public ViewTodayItemNote(Context context) {
		super(context);
	}

	public void setItemData(String sText) {
		setText(sText);
	}

	@Override
	protected void onDraw(Canvas canvas) {
		super.onDraw(canvas);
		// DrawTestRect(canvas);

		final int iposX = ViewTodayItemHeader.getTextPosX();
		int iposY = iMargin - (int) mpt.ascent();

		drawItemText(canvas, iposX, iposY, getWidth() - iSpace,
				iColorTextActive_enabled);
	}

}
